package com.example.shoppingmallspringboot.service;

import com.example.shoppingmallspringboot.util.FwResult;
import com.example.shoppingmallspringboot.vo.OrdersDetailGoodsVo;
import com.example.shoppingmallspringboot.vo.OrdersVo;
import java.util.List;

public interface OrdersService {
    // 获取用户订单
    List<OrdersDetailGoodsVo> getUserOrders(Integer userId);
    
    // 购物车结算
    void orders(List<OrdersVo> ordersVoList);
    
    // 删除订单
    FwResult deleteOrder(Integer orderId);
}
